        obrazek1=new Image
        obrazek2=new Image

        obrazek1.src='img/AreaChart.png'
        obrazek2.src='img/BarChart.png'
        obrazek3.src='img/BarChart3D.png'
        obrazek4.src='img/LineChart.png'
        obrazek5.src='img/LineChart3D.png'
        obrazek6.src='img/StackedAreaChart.png'
        obrazek7.src='img/StackedBarChart.png'
        obrazek8.src='img/StackedBarChart3D.png'
        obrazek9.src='img/WaterfallChart.png'
        obrazek10.src='img/PieChart.png'
        obrazek11.src='img/PieChart3D.png'
        obrazek12.src='img/RingChart.png'
        obrazek13.src='img/ScatterPlot.png'
        obrazek14.src='img/TimeSeriesChart.png'
        obrazek15.src='img/XYAreaChart.png'
        obrazek16.src='img/XYLineChart.png'
        obrazek17.src='img/XYStepAreaChart.png'
        obrazek18.src='img/XYStepChart.png'

        function sprawdzListe() {
            switch(document.listyFormularz.lista.options[document.listyFormularz.lista.selectedIndex].text){
                case 'AreaChart':
                    document.rysunek.src = obrazek1.src;
                    break;
                case 'BarChart':
                    document.rysunek.src = obrazek2.src;
                    break;
                case 'BarChart3D':
                    document.rysunek.src = obrazek3.src;
                    break;
                case 'LineChart':
                    document.rysunek.src = obrazek4.src;
                    break;
                case 'LineChart3D':
                    document.rysunek.src = obrazek5.src;
                    break;
                case 'StackedAreaChart':
                    document.rysunek.src = obrazek6.src;
                    break;
                case 'StackedBarChart':
                    document.rysunek.src = obrazek7.src;
                    break;
                case 'StackedBarChart3D':
                    document.rysunek.src = obrazek8.src;
                    break;
                case 'WaterfallChart':
                    document.rysunek.src = obrazek9.src;
                    break;
                case 'PieChart':
                    document.rysunek.src = obrazek10.src;
                    break;
                case 'PieChart3D':
                    document.rysunek.src = obrazek11.src;
                    break;
                case 'RingChart':
                    document.rysunek.src = obrazek12.src;
                    break;
                case 'ScatterPlot':
                    document.rysunek.src = obrazek13.src;
                    break;
                case 'TimeSeriesChart':
                    document.rysunek.src = obrazek14.src;
                    break;
                case 'XYAreaChart':
                    document.rysunek.src = obrazek15.src;
                    break;
                case 'XYLineChart':
                    document.rysunek.src = obrazek16.src;
                    break;
                case 'XYStepAreaChart':
                    document.rysunek.src = obrazek17.src;
                    break;
                case 'XYStepChart':
                    document.rysunek.src = obrazek18.src;
                    break;
            }
        }
